package main

import (
	"flag"
	"ginweb/system"
	"ginweb/router"
)

func main()  {
	configPath := flag.String("C", "config/app.yaml", "config file path")
	flag.Parse()
	if err := system.LoadConfiguration(*configPath);err != nil {
		return
	}
	router.Init()
}